import React from 'react'


import {Button} from 'antd'

import {Link,history} from 'umi'
 function Test() {
  return (
    <div>
      <Link  to="/" >TEST</Link>
     <Button  type='primary'   onClick={()=>{
      history.push('/')
     }} >按钮</Button>
    </div>
  )
}

export default Test
